Hash Tree Model
A HashTreeModel is an implementation of the Swing TreeModel backed by a HashMap. Any objects can be added as nodes or the class can be parameterized so that only nodes belonging to some type may be added (noting that TreeModel methods will still use Object). An object may only be inserted into the tree once as enforced by equals as this causes problems with the JTree.
Author
Jay Detwiler